import employeesObj from '@/api/constant/employees'
const filterObj = {
  formatStr(id) {
    const temp = employeesObj.hireType.find((item) => {
      return item.id === id
    })
    return temp ? temp.value : '-'
  }
}
export default {
  install(Vue) {
    console.log(Object.keys(filterObj))
    Object.keys(filterObj).forEach((item) => {
      Vue.filter(item, filterObj[item])
    })
  }
}
